package com.chen.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.admin.entity.HotelRoom;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HotelRoomMapper extends BaseMapper<HotelRoom> {

    int getPrice(@Param("hotelRoomId") int hotelRoomId);

    int hotelRoomAdd(@Param("hotelRoom") HotelRoom hotelRoom,@Param("hasWindowValue") int hasWindowValue,@Param("breakfastValue") int breakfastValue);

    List<HotelRoom> selectInfoPage();
}
